package MyList;

import java.util.ArrayList;
import java.util.Arrays;


public class Test {
    public static void main(String[] args) {
//        ArrayList<Integer> arrayList = new ArrayList<>();
//        arrayList.add(1);

        MyArrayList myArrayList = new MyArrayList();
        int[] n = {1,2,3,4,5};
        myArrayList.reverse1(n);
        System.out.println();
        myArrayList.reverse2(n);
    }
}
